update query in SQLite3 with Python